package bdqn.t09.service.impl;

import bdqn.t09.dao.AsRolePremissionMapper;
import bdqn.t09.pojo.AsRolePremission;
import bdqn.t09.service.AsRolePremissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AsRolePremissionServiceimpl implements AsRolePremissionService{

    @Resource
    private AsRolePremissionMapper asRolePremissionMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return asRolePremissionMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AsRolePremission record) {
        return asRolePremissionMapper.insert(record);
    }

    @Override
    public int insertSelective(AsRolePremission record) {
        return asRolePremissionMapper.insertSelective(record);
    }

    @Override
    public AsRolePremission selectByPrimaryKey(Long id) {
        return asRolePremissionMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AsRolePremission record) {
        return asRolePremissionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AsRolePremission record) {
        return asRolePremissionMapper.updateByPrimaryKey(record);
    }
}
